package de.argh.jteas.mojo.model.annotation;

/**
 * Syntax: [XmlClass(
 * 	alias="MyClass", 
 *  prefix="my", 
 *  uri="http://www.your.site.com/schema/", 
 *  ordered="true|false", 
 *  version="version_Name")]
 *
 *      alias: The name of the element/attribute that represents this object in the xml request/response;
 *      prefix: Namespace prefix that will be used to serialize objects of this class;
 *      uri: Namespace uri for object representations received from and transmitted to server;
 *      ordered: boolean flag signaling whether a specific order has been specified for the fields or not. If true, on serialization, the fields values will be serialized in the order specified by the field annotations;
 *      version: version of the current annotation; annotations will be matched by this version value when the user needs to process an objects with different versions of xml. 
 * @author Rose
 *
 */
public class ASClassAnnotation extends ASAnnotation {
	
	private String prefix;
	private String uri;
	private boolean orderd;
	
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	
	public String getPrefix() {
		return prefix;
	}
	
	public void setUri(String uri) {
		this.uri = uri;
	}
	
	public String getUri() {
		return uri;
	}
	
	public void setOrderd(boolean orderd) {
		this.orderd = orderd;
	}
	
	public boolean isOrderd() {
		return orderd;
	}
}
